<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>黑龙江省科技资源信息管理系统</title>

<base href="<%=basePath%>" />

<link href="/static/css/css.css" rel="stylesheet" type="text/css" />
<link href="/static/css/select.css" rel="stylesheet" type="text/css" />

<script src="/static/js/tab.js"></script>
<!-- <script src="http://api.map.baidu.com/api?v=1.3" type="text/javascript"></script> -->
<script type="text/javascript"
	src="http://api.map.baidu.com/api?v=2.0&ak=gkhZkvMMhPRMs1ybtbM7nmhH1ryHr6Dp"></script>
<script type="text/javascript"
	src="http://api.map.baidu.com/library/AreaRestriction/1.2/src/AreaRestriction_min.js"></script>
<script type="text/javascript" src="/static/js/jquery.min.js"></script>
<!-- jquery ui组件可以自己定制  -->
<script type="text/javascript" src="/static/js/jquery-ui.min.js"></script>
<link type="text/css" href="/static/css/cupertino/jquery-ui.min.css"
	rel="Stylesheet" />
<script type="text/javascript" src="static/echarts/echarts.min.js"></script>
<script type="text/javascript" src="/static/js/searchInRectangle.js"></script>
<!-- <script type="text/javascript" src="/static/data/citydata.json"></script> -->

</head>

<body onload="initMap();">
	<div id="main">
		<div class="top">
			<div class="logo">
				<a href="#"><img src="/static/images/logo.jpg" width="360"
					height="55" /> </a>
			</div>
			<div class="search">
				<div class="sea_con">
					<ul class="list">
						<li class="current"><a id='a2' href="institution/main.ins">机构信息</a></li>
						<li><a id='a2' href="#">仪器信息</a></li>
						<li><a id='a2' href="#">检测项目</a></li>
						<li><a id='a2' href="#">人才信息</a></li>
						<li><a id='a2' href="#">成果信息</a></li>
						<li><a id='a2' href="#">基地信息</a></li>
						<li><a id='a2' href="#">测试分析</a></li>
						<!-- 						<li><a id='a2' href="#">成果信息</a></li> -->
					</ul>
				</div>
			</div>
		</div>
		<div class="content">
			<div class="left" id="left">
				<p class="act_top" id="tab_search">
					<a href="gd/yqcx.jsp" id="search1_list"
						onclick="tabs3('search',1,2,'list')">内容搜索</a> <a
						href="gd/dxyq.jsp" id="search2_list"
						onclick="tabs3('search',2,2,'list')" class="current">统计信息</a>
				</p>
				<!--显示弹出框-->
				<div class="table_action" id="height">
					<div class="table_list1 table_list" id="news_cont1_list"
						style="display:none">
						<div class="table_text">
							<div class="button">
								<a href="javaScript:void(0)" onclick="closeDis();"
									class="button_a"> 关闭 </a> <a href="javaScript:void(0)"
									class="button_a" id="fanhui" onclick="window.history.back();">返回
								</a> <a href="javaScript:void(0)" class="button_a" id="dayin"
									onclick="printiframe()"> 打印 </a>
							</div>
							<div class="iframe_table">
								<iframe id="iframe" name="layer_iframe" src="" scrolling="yes"
									height="100%" width="615px" frameborder="0"></iframe>
							</div>
						</div>
					</div>
					<div id="search_cont1_list">
						<div class="title_nav2" id="search_cont1_list">
							<div class="t_n" style="width:212px;">
								<p class="tn_t">
									<a href="javaScript:void(0)" class="current" id="navt1_list"
										onclick="return changeZb('仪器大类',1,3)">机构类型</a>
								</p>
							</div>
							<div class="t_n" style="width:212px;">
								<p class="tn_t">
									<a href="javaScript:void(0)" id="navt2_list"
										onclick="return changeZb('产地',2,3)">待定</a>
								</p>
							</div>
							<div class="t_n" style="width:212px;">
								<p class="tn_t">
									<a href="javaScript:void(0)" id="navt3_list"
										onclick="return changeZb('共享模式',3,3)">待定</a>
								</p>
							</div>
						</div>
					</div>
				</div>
			</div>
			<!--对比弹出框 -->
			<div id="dialog" title="数据比较"></div>
			<div class="con_right" id="right">
				<div class="r_top">
					<a href="javascript:pr()" class="sj_icon"><img id="xs"
						src="/static/images/icon.jpg" /> </a>
					<p class="city_f" id="curzt"></p>
					<p class="city_l" id="tl"></p>
				</div>
				<div class="map">
					<!-- 此处的高度\宽度样式需要调整 -->
					<!-- http://www.cnblogs.com/felixlong/p/4310035.html 不合适 -->
					<!--  -->
					<div id="container" style="width:1050px;height:480px;left:0px;"></div>
				</div>
			</div>

			<!-- 自定义数据显示框 -->
			<div id="dialog2" title="详细信息" style="width:500px;height:500px;">
			<div id="tu111" sytle="width:400px;height:400px;"></div></div>
			<!--main end-->
		</div>
	</div>


	<script>
	//初始化参数
	var map = null;
	var curlevel = null;	// 当前缩放级别
	var curcenterlng = null;	// 当前经度
	var curcenterlat =null;		// 当前维度
	var type = null;		// 当前类型（省0、市1、区（县）2、单位3）
	
	var tx = null;
	var ty =  null;
	var laiyuan=null;
	var zhibiao = null;
	var tongji = null;
	    
	/*
	初始化地图
	*/
	function initMap(){
		//获取地理信息相关的参数
		if(<%=session.getAttribute("curlevel")%>!=null){
			curlevel = <%=session.getAttribute("curlevel")%>;
		}
		else{
			// 默认缩放级别（省）
			curlevel = 6;
		}
		if(<%=session.getAttribute("curcenterlng")%> != null && <%=session.getAttribute("curcenterlat")%> != null){
			curcenterlng =  <%=session.getAttribute("curcenterlng")%>;
			curcenterlat =  <%=session.getAttribute("curcenterlat")%>;
		}
		else{
			// 默认中心坐标
			curcenterlng = 128.91077;
			curcenterlat = 48.734684;
		}
	   
		//创建地图
		map = new BMap.Map("container",{minZoom:6}); // 最小缩放级别
		var point = new BMap.Point(curcenterlng, curcenterlat);  // 创建点坐标   
		map.centerAndZoom(point, curlevel);  // 初始化地图，设置中心点坐标和地图级别
	    
	    //地图控件
		map.enableScrollWheelZoom();  // 开启鼠标滚轮缩放   
		map.enableKeyboard();         // 开启键盘控制   
		map.enableContinuousZoom();   // 开启连续缩放效果   
		map.enableInertialDragging(); // 开启惯性拖拽效果
		map.enableDragging();         //开启拖拽效果  
		map.addControl(new BMap.NavigationControl({type:BMAP_NAVIGATION_CONTROL_ZOOM}));
		map.addControl(new BMap.ScaleControl());   
		//配置了区域限制，不能开启缩略图控件，否则会出现“鬼畜”效果
		//map.addControl(new BMap.OverviewMapControl());   
		//map.addControl(new BMap.OverviewMapControl({isOpen:true, anchor: BMAP_ANCHOR_BOTTOM_RIGHT}));   
		//北京之外的地区不支持3D图
		//map.addControl(new BMap.MapTypeControl()); 	  
		map.addControl(new BMap.MapTypeControl({mapTypes: [BMAP_NORMAL_MAP,BMAP_HYBRID_MAP]}));
		
		//限制地图只显示黑龙江 
		setAreaRestriction();
		
		//监听缩放
		map.addEventListener("zoomend", function(){ 
		    findInstitution(getType());
		});
		
		//初始marker   
	    findInstitution(getType());          
	} 
    
    /**
     *	根据当前地图的缩放级别，获得当前类型	
     *	
     *	省		0
     *	市		1
     *	县		2
     *	单位		3
     */
    function getType(){
    	//获取当前地图层级
		var zoomlevel = map.getZoom();	
	    //按省级别查找
	    if(zoomlevel <= 7){
	    	return 0;
	    }
	    //按市级别查找
	    else if(zoomlevel == 8){
	    	return 1;
	    }
	    //按县级别查找
	    else if(zoomlevel == 9){
	    	return 2;
	    }
	    //按单位级别查找
	    //zoomlevel >= 10
	    else{
			return 3;
	    }                  
    }
    
    /**
	 *	获取地图上marker的信息窗口中，机构的信息
	 */
    function findInstitution(type){
    	//console.log(type);
    	changeCurZtAndtl(type);
// 	    curlevel = map.getZoom();
//   	curcenterlng = map.getCenter().lng;
//   	curcenterlat = map.getCenter().lat;
		map.clearOverlays();
		//圈出黑龙江省 
		getBoundary();
		
		$.ajax({
			type : 'GET',
			url : 'institution/getSum.ins',
			data : "type="+type,
			dataType : "json",
			success : function(data) {
				console.log(data);
				console.log(data.length);
				console.log(data[0][0]);
				console.log(data[0][1]);
				
				for(var i = 0 ; i < data.length ; i++){
					showMarker(data[i][0],data[i][1],data[i][2],data[i][3],type);
				}
		
			},
			error : function(data) {
				console.log("error");
			}
		})
    }
    
    function showMarker(typename,lng,lat,num,type){
    	//根据数量获取对应的图例    
		var image = getImage(num,type,"institution");
		var	myIcon = new BMap.Icon(image, new BMap.Size(20, 25),{anchor: new BMap.Size(15, 5)});
    	var point = new BMap.Point(lng,lat);        
  		var marker = new BMap.Marker(point, {icon: myIcon}); 
  		var title = null;
  		if(type==1 ||type==2){
  			title = "<h><strong>"+typename+" 机构信息统计</strong></h>"+"<a id="+typename+"  href='javascript:void(0)'  onclick=change('"+typename+"','"+type+"','institution'); class='button_a'>加入比较</a><br>";
  		}
  		else if(type==0){
  			title = "<h><strong>"+typename+" 机构信息统计</strong></h>"+"<a href='javascript:void(0)'  onclick=displayby('city','gddxyq'); class='button_a'>按市排序</a>"+"<a href='javascript:void(0)'  onclick=displayby('danwei','gddxyq'); class='button_a'>按单位排序</a>"+"<br>";
  		}
  		else {
  			title = "<h><strong>"+typename+" 机构信息统计</strong></h><br>";
  		}
  		
  		/*
  		if(tx==x&&ty==y)
  		{
  		var opts = {   
 			 width :1000,     // 信息窗口宽度   
 			 height:650,     // 信息窗口高度   
 			 title :title  // 信息窗口标题   
			}			
        var message = "<table  width=100%  align=left><tr align=left><td>大型仪器总数:</td><td><a href='javascript:void(0)' onclick=\"return displaydetail('"+loctype+"','"+quyu+"')\">"+shuliang+"台  </a></td></tr>";
	    var httprequest = createXMLHttpRequest();	        
		httprequest.open("post","servlet/FinddxyqCount",true);
		httprequest.setRequestHeader("Content-Type","application/x-www-form-urlencoded"); 
		httprequest.onreadystatechange = function(){
        if(httprequest.readyState == 4){
		   if(httprequest.status == 200){
		        var res = httprequest.responseText;
		        var window = new BMap.InfoWindow(message+"<tr><td colspan='2'><img id='tu' src= '"+res+ "'></img></td></tr></table>",opts);
		        window.addEventListener("clickclose", function(){tx=0;ty=0;});
		  		map.openInfoWindow(window, point); 
		        }
		      }
		    };
		httprequest.send("quyu="+quyu+"&loctype="+loctype+"&zhibiao="+zhibiao);
  		}
  		*/
  		
    	marker.addEventListener("click", function(){   	   
	    	var opts = {   
	 			width :500,     // 信息窗口宽度   
	 			height:400,      // 信息窗口高度   
	 			title :title     // 信息窗口标题   
			}
				
// 			tx=x;
// 			ty=y;		
				
	        var message = "<table  width=100%  align=left><tr align=left><td>大型仪器总数:</td><td><a href='javascript:void(0)' onclick=\"return displaydetail('"+type+"','"+typename+"')\">"+num+"台  </a></td></tr>";
		    
		    
		    $.ajax({
				type : 'GET',
				url : 'institution/getSumData.ins',
				data : "type="+type,
				dataType : "json",
				success : function(data) {
// 					var window = new BMap.InfoWindow(message+"<tr><td colspan='2'><div id=\"tu\"></div></td></tr></table>",opts);
// 			        window.addEventListener("clickclose", function(){tx=0;ty=0;});
// 			  		map.openInfoWindow(window, point);
			  		
			  		marker.addEventListener("click", function(){
// 			  			console.log("aaa");
// 						var content = "<div id=\"tu111\" sytle=\"width:600px;height:600px;\"></div>";
// 			  			$("#dialog2").html(content);
			  			
// 			  			var dom = document.getElementById("tu111");
// 						var myChart = echarts.init(dom);
// 						var app = {};
// 						option = null;
// 						app.title = '世界人口总量 - 条形图';
// 						option = {
// 						    title: {
// 						        text: '世界人口总量',
// 						        subtext: '数据来自网络'
// 						    },
// 						    tooltip: {
// 						        trigger: 'axis',
// 						        axisPointer: {
// 						            type: 'shadow'
// 						        }
// 						    },
// 						    legend: {
// 						        data: ['2011年', '2012年']
// 						    },
// 						    grid: {
// 						        left: '3%',
// 						        right: '4%',
// 						        bottom: '3%',
// 						        containLabel: true
// 						    },
// 						    xAxis: {
// 						        type: 'value',
// 						        boundaryGap: [0, 0.01]
// 						    },
// 						    yAxis: {
// 						        type: 'category',
// 						        data: ['巴西','印尼','美国','印度','中国','世界人口(万)']
// 						    },
// 						    series: [
// 						        {
// 						            name: '2011年',
// 						            type: 'bar',
// 						            data: [18203, 23489, 29034, 104970, 131744, 630230]
// 						        },
// 						        {
// 						            name: '2012年',
// 						            type: 'bar',
// 						            data: [19325, 23438, 31000, 121594, 134141, 681807]
// 						        }
// 						    ]
// 						};
// 						;
// 						if (option && typeof option === "object") {
// 						    myChart.setOption(option, true);
// 						}
			  			
// 						$("#dialog2").dialog("open");
 			  		});
				},
				error : function(data) {
					console.log("error");
				}
			})
		    
		    /*
		    var httprequest = createXMLHttpRequest();	        
			httprequest.open("post","servlet/FinddxyqCount",true);
			httprequest.setRequestHeader("Content-Type","application/x-www-form-urlencoded"); 
			httprequest.onreadystatechange = function(){
	        if(httprequest.readyState == 4){
			   if(httprequest.status == 200){
			        var res = httprequest.responseText;
			        console.log(message);
			        console.log(res);
			        var window = new BMap.InfoWindow(message+"<tr><td colspan='2'><img id='tu' src= '"+res+ "'></img></td></tr></table>",opts);
			        window.addEventListener("clickclose", function(){tx=0;ty=0;});
			  		map.openInfoWindow(window, point); 
			        }
			      }
			    };
			httprequest.send("quyu="+quyu+"&loctype="+loctype+"&zhibiao="+zhibiao);
			*/
 		});            
 		
 		
		map.addOverlay(marker);
		

    }
    
	
// 	function changeZb(zhibiao,i,n){
// 		for(j=1;j<=n;j++)
// 		if(j==i)
// 		$("#navt"+j+"_list").attr("class","current");
// 		else 
// 		$("#navt"+j+"_list").attr("class","");
// 		ChangeSession(zhibiao);
// 		return false;    
// 	}
		
// 	function ChangeSession(zhibiao){
// 	   	draw(zhibiao);
// 	   	return false;    
// 	}
    
    
 	/**
 	 *	小横条的信息
 	 */
 	function changeCurZtAndtl(type){
 		if(type==0){
 		$("#curzt").html("<a href=\"#\" onclick=\"return findQuyu('province')\"><font color='red'>省</font></a>>><a href=\"#\" onclick=\"return findQuyu('city')\">市</a>>><a href=\"#\" onclick=\"return findQuyu('xian')\">区县</a>>><a href=\"#\" onclick=\"return findQuyu('danwei')\">单位</a>");
 		$("#tl").html("<a ><img src = '/static/image/red.gif' width=12  height=15/>500台以上<img src = '/static/image/blue.gif' width=12  height=15/>100台到500台<img src = '/static/image/green.gif' width=12  height=15/>0台到100台</a>");
 		}
 		if(type==1){
 		$("#curzt").html("<a href=\"#\" onclick=\"return findQuyu('province')\">省</a>>><a href=\"#\" onclick=\"return findQuyu('city')\"><font color='red'>市</font></a>>><a href=\"#\" onclick=\"return findQuyu('xian')\">区县</a>>><a href=\"#\" onclick=\"return findQuyu('danwei')\">单位</a>");
 		$("#tl").html("<a ><img src = '/static/image/red.gif' width=12  height=15/>500台以上<img src = '/static/image/blue.gif' width=12  height=15/>100台到500台<img src = '/static/image/green.gif' width=12  height=15/>0台到100台</a>");		
 		}
 		if(type==2){
 		$("#curzt").html("<a href=\"#\" onclick=\"return findQuyu('province')\">省</a>>><a href=\"#\" onclick=\"return findQuyu('city')\">市</a>>><a href=\"#\" onclick=\"return findQuyu('xian')\"><font color='red'>区县</font></a>>><a href=\"#\" onclick=\"return findQuyu('danwei')\">单位</a>");
 		$("#tl").html("<a ><img src = '/static/image/red.gif' width=12  height=15/>200台以上<img src = '/static/image/blue.gif' width=12  height=15/>50台到100台<img src = '/static/image/green.gif' width=12  height=15/>0台到50台</a>");
 		}
 		if(type==3){
 		$("#curzt").html("<a href=\"#\" onclick=\"return findQuyu('province')\">省</a>>><a href=\"#\" onclick=\"return findQuyu('city')\">市</a>>><a href=\"#\" onclick=\"return findQuyu('xian')\">区县</a>>><a href=\"#\" onclick=\"return findQuyu('danwei')\"><font color='red'>单位</font></a>");
 		$("#tl").html("");
 		}
 	}
 	
 	function findQuyu(loctype){
	 	if(loctype=="province"){
 			curlevel = 6;	// 6、8、9、11分别对应效果最好的时候
 		}
 		else if(loctype=="city"){
 		    curlevel = 8;
 		}
 		else if(loctype=="xian"){
 		    curlevel = 9;
 		}
 		else if(loctype=="danwei"){
			curlevel = 11;
		}
		map.centerAndZoom(map.getBounds().getCenter(), curlevel);  // 初始化地图，设置中心点坐标和地图级别
		map.clearOverlays();
 		return false;    // what?
 	}
 
   //====================前五个层级=================================================
   
   function findDxyq(loctype){
        changeCurZtAndtl(loctype);
	    curlevel = map.getZoom();
  		curcenterlng = map.getCenter().lng;
  		curcenterlat = map.getCenter().lat;
		map.clearOverlays();
		
		
		$.ajax({
			type : 'GET',
			url : 'institution/sum.ins',
			data : "type=0",
			dataType : "json",
			success : function(data) {
					
		
			},
			error : function(data) {
				alert("error");
			}
		})
		
		//sendRequestPost("institution/sum.ins","zhibiao="+zhibiao+"&curlevel="+curlevel+"&curcenterlng="+curcenterlng+"&curcenterlat="+curcenterlat+"&loctype="+loctype);
   }
   
	var xmlHttpRequest;	
	//请求函数
	function sendRequestPost(url,param){
		xmlHttpRequest=createXMLHttpRequest();
		xmlHttpRequest.open("POST",url,true);
		xmlHttpRequest.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
		xmlHttpRequest.onreadystatechange = processResponse;
		xmlHttpRequest.send(param);
	}
	/*
	处理返回信息函数
	*/
	function processResponse(){
		if(xmlHttpRequest.readyState == 4){
			if(xmlHttpRequest.status == 200){
				var res = xmlHttpRequest.responseText;
				var locations = res.split("|");
				for(i=0;i<locations.length;i++){
					var temp = locations[i].split(",");
					temp[4]=temp[4].replace(/(^\s*)|(\s*$)/g,"");
					showPoint(temp[0],temp[1],temp[2],temp[3],temp[4]);
				}
			}
		}
	}
	/*
	显示当前信息窗口
	*/
	function showPoint(x,y,shuliang,quyu,loctype){
		//根据数量获取对应的图例    
		var image = getImage(shuliang,loctype,"gddxyq");
		var	myIcon = new BMap.Icon(image, new BMap.Size(20, 25),{anchor: new BMap.Size(15, 5)});
    	var point = new BMap.Point(y,x);        
  		var marker = new BMap.Marker(point, {icon: myIcon}); 
  		var title = null;
  		if(loctype=="city"||loctype=="xian")
  		title = "<h><strong>"+quyu+" 大型仪器信息统计</strong></h>"+"<a id="+quyu+"  href='javascript:void(0)'  onclick=change('"+quyu+"','"+loctype+"','gddxyq'); class='button_a'>加入比较</a><br>";
  		else if(loctype=="province")
  		title = "<h><strong>"+quyu+" 大型仪器信息统计</strong></h>"+"<a href='javascript:void(0)'  onclick=displayby('city','gddxyq'); class='button_a'>按市排序</a>"+"<a href='javascript:void(0)'  onclick=displayby('danwei','gddxyq'); class='button_a'>按单位排序</a>"+"<br>";
  		else 
  		title = "<h><strong>"+quyu+" 大型仪器信息统计</strong></h><br>";
  		
  		if(tx==x&&ty==y)
  		{
  		var opts = {   
 			 width :1000,     // 信息窗口宽度   
 			 height:650,     // 信息窗口高度   
 			 title :title  // 信息窗口标题   
			}			
        var message = "<table  width=100%  align=left><tr align=left><td>大型仪器总数:</td><td><a href='javascript:void(0)' onclick=\"return displaydetail('"+loctype+"','"+quyu+"')\">"+shuliang+"台  </a></td></tr>";
	    var httprequest = createXMLHttpRequest();	        
		httprequest.open("post","servlet/FinddxyqCount",true);
		httprequest.setRequestHeader("Content-Type","application/x-www-form-urlencoded"); 
		httprequest.onreadystatechange = function(){
        if(httprequest.readyState == 4){
		   if(httprequest.status == 200){
		        var res = httprequest.responseText;
		        var window = new BMap.InfoWindow(message+"<tr><td colspan='2'><img id='tu' src= '"+res+ "'></img></td></tr></table>",opts);
		        window.addEventListener("clickclose", function(){tx=0;ty=0;});
		  		map.openInfoWindow(window, point); 
		        }
		      }
		    };
		httprequest.send("quyu="+quyu+"&loctype="+loctype+"&zhibiao="+zhibiao);
  		}
  		
    	marker.addEventListener("click", function(){   	   
    	var opts = {   
 			 width :1000,     // 信息窗口宽度   
 			 height:650,     // 信息窗口高度   
 			 title :title  // 信息窗口标题   
			}	
			tx=x;
			ty=y;		
        var message = "<table  width=100%  align=left><tr align=left><td>大型仪器总数:</td><td><a href='javascript:void(0)' onclick=\"return displaydetail('"+loctype+"','"+quyu+"')\">"+shuliang+"台  </a></td></tr>";
	    var httprequest = createXMLHttpRequest();	        
		httprequest.open("post","servlet/FinddxyqCount",true);
		httprequest.setRequestHeader("Content-Type","application/x-www-form-urlencoded"); 
		httprequest.onreadystatechange = function(){
        if(httprequest.readyState == 4){
		   if(httprequest.status == 200){
		        var res = httprequest.responseText;
		        console.log(message);
		        console.log(res);
		        var window = new BMap.InfoWindow(message+"<tr><td colspan='2'><img id='tu' src= '"+res+ "'></img></td></tr></table>",opts);
		        window.addEventListener("clickclose", function(){tx=0;ty=0;});
		  		map.openInfoWindow(window, point); 
		        }
		      }
		    };
		httprequest.send("quyu="+quyu+"&loctype="+loctype+"&zhibiao="+zhibiao);
 				 });                
		map.addOverlay(marker);
	}
	
	function displaydetail(loctype,quyu){
	    var src  = "gdlayer/dxyqcountlist.jsp?quyu="+quyu+"&loctype="+loctype+"&zhibiao="+zhibiao;
	    $("#iframe").attr("src",encodeURI(src));
	    $("#news_cont1_list").show("slow");
	    return false;
	}
</script>
</body>
</html>
